package com.su.fileupload.vo.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 文件校验结果
 *
 * @author xysusj
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FileChunkCheckResponse {
    /**
     * 是否跳过上传-秒传
     */
    private Boolean skipUpload;

    /**
     * 文件url
     */
    private String url;

    /**
     * 已上传分块
     */
    private List<Integer> uploaded;

    /**
     * 是否需要合并
     */
    private Boolean needMerge;


}
